package com.projects.candientu.utils;

import android.view.View;
import android.widget.TextView;
import com.projects.candientu.R;

public class DataViewHolder {
	private View mRow;
	private TextView Stt = null;
	private TextView IDGio = null;
	private TextView KhoiLuong = null;
	private TextView ThoiDiemDo = null;

	public DataViewHolder(View row) {
		mRow = row;
	}

	public TextView getStt() {
		if (null == Stt) {
			Stt = (TextView) mRow.findViewById(R.id.lblSTT);
		}
		return Stt;
	}

	public TextView getIDGio() {
		if (null == IDGio) {
			IDGio = (TextView) mRow.findViewById(R.id.lblIDGio);
		}
		return IDGio;
	}

	public TextView getKhoiLuong() {
		if (null == KhoiLuong) {
			KhoiLuong = (TextView) mRow.findViewById(R.id.lblKhoiLuong);
		}
		return KhoiLuong;
	}

	public TextView getThoiDiemDo() {
		if (null == ThoiDiemDo) {
			ThoiDiemDo = (TextView) mRow.findViewById(R.id.lblThoiDiemDo);
		}
		return ThoiDiemDo;
	}
}
